package com.second.system.service;

import com.second.common.pojo.Permission;

import java.util.List;

/**
 * @program: second-education-parent
 * @description:
 * @author: 王子朋
 * @create: 2023-05-23 18:31
 **/

public interface PermissionService {
    public List<Permission> findByUserId(String userId);


    List<Permission> findAll();

    List<String> findByRoleId(String roleId);

    void confirm(String roleId, String[] checkPermissionIds);
}
